﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Runtime.Serialization;
using System.Collections.ObjectModel;

namespace LunchRoller.ViewModels
{



    [DataContract]
    public class HistoryModel : ViewModelBase
    {

        [DataMember]
        public PropertyContainer<PersonModel[]> _Person
            = new PropertyContainer<PersonModel[]>("Person", new PersonModel[0]);

        public PersonModel[] Person
        {
            get { return _Person.Value; }
            set { _Person.SetValueAndTryNotify(this, value); }
        }




        [DataMember]

        public PropertyContainer<String> _Place
         = new PropertyContainer<String>("Place", "");
        public String Place
        {
            get { return _Place.Value; }
            set { _Place.SetValueAndTryNotify(this, value); }
        }


        [DataMember]
        public PropertyContainer<DateTime> _Date
             = new PropertyContainer<DateTime>("Date", DateTime.Now);

        public DateTime Date
        {
            get { return _Date.Value; }
            set { _Date.SetValueAndTryNotify(this, value); }
        }






     


    }
}
